home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ADA Programming Guide
/
ADA Programming Guide.iso
/
ada_gwu
/
readme.fil
< prev
next >
Wrap
Text File
|
1996-01-30
|
4KB
|
83 lines
The following files make up the GWUMON program:
MON_INT.C - This file starts the monitor program
CWKGRAPH.C - This file contains the programs which
interface with the screen. This is done in
this version of the MONITOR through the GWAda
routines. Note to change the interface to the
screen, look in this file, CWKFORM.c, and
CWKFPR.C.
CWKTASK.C - This file interfaces with the NYU tasking model.
CWKBLOCK.C - This file has routines for handling blocks in the
the programs.
CWKFILE.C - This file handles the source files for display.
MON_GLOB.C - This file defines the monitor global variables.
CWKFORM.C - This file contains the programs needed to display
forms.
CWKFPR.C - This file contains any forms for the system.
MONITOR.H - All structures used for the monitor are defined
in this monitor file.
MON_EXT.H - This file defines the external definitions for the
variables defined in mon_glob.c
KEYDEF.H - All key definitions are contained here.
EXTERNS.H - These three include files come from the GWAda system
ED.H - and are used for the windows in CWKGRAPH.C
EDIT.H
MAKEFILE - This is the makefile for the monitor.
GPL - GNU Public License
The following files were modified from the NYUAda system to allow the
GWUMON program to work. Note that changes are included within
#ifdef MONITOR statements. These programs should be located in the
NYUSRC file, and should be current with the correct version of the monitor.
PREDEF4.C - Added code to allow the Ada IO to work with
the monitor (made the c macro putc a call to
a monitor routine).
TASKING.C - Added code to tell the monitor what the
NYU Ada runtime system is doing.
INTA.C - Added code in the interpreter to track line
numbers and to handle execution cycle timing.
IMAIN.C - Added code to initialize the monitor.
ADACOMP.C - Need to save the source file name for use later in
the code generation.
GLIB.C - Change the MAIN CS (code segment) to have the
file for the task.
TYPE.C - Change all other tasks to record the task type
and the file it exist in.
INTB.C - Changed to record exception handling in the
monitor.
PACK.C - Changed to record the name of the package in the
compiler so that the package name can be displayed
in the monitor.
AXQR.C - Changed to read the package name, and block file,
into the slot structure.
AXQW.C - Changed to write the package name, and block file,
into the slot structure.
TYPE.H - Change the task type structure (tt_task) to include
the source file and task type name.
SLOT.H - Change the slot structure to include file name.
IVARS.H,IVARS.C - Added a new external varialbe for the code slot name.
The following files are test programs which are included with the GWUMON
program. These Ada programs have comments in their preamble which tell
the user how to use these programs with the GWUMON program, to help the user
learning to use GWUMON.
FIRST.ADA - A simple first Ada program. This program simply
asks the user his name, and prints it back. An
"Hello World" type program.
FIBB.ADA - A program which calculates a Fibbinochi series.
This program is simple, but shows how the monitor
handles the call stack in a sequential program,
and gives a nice example of simple recursion.
PARSER.ADA - This is a simple equation parser. It shows how
the monitor can be used to show the call stack,
and thus the parse tree. This type of example
could be used in a compilers type course.
WORMS.ADA - An implementation of the UNIX game WORMS. This
program shows how Ada tasks can be used.